using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class guias_eventos : Page
{
    ListItem item;
    /// <summary>
    /// Metodo que carga la pagina al iniciar.
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void Page_Load(object sender, EventArgs e)
    {
        if (year.Items.Count == 0)
        {
            for (int i = 1980; i < 2100; i++)
            {
                item = new ListItem(i.ToString(), i.ToString());
                year.Items.Add(item);

            }
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        int id = ((Protocolo.Persona) (Session["usuario"])).id_persona;
        //IList eventos = Protocolo.Control_persona.BusquedaEventosGuias(id, mes.SelectedValue, year.SelectedValue);
    }
}
